/*
 */

package com.railway.msg.vo.query;

import java.io.Serializable;
import java.util.Date;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import com.railway.common.base.BaseQuery;
import com.railway.common.util.StaticMap;

/**
 * @author  jiangcheng
 * @version 1.0
 * @since 1.0
 */


public class MsgReciveQuery extends BaseQuery implements Serializable {
	
   
    private static final long serialVersionUID = 3148176768559230877L;
    private String title = null; 
	private String content = null;
	private String creator = null;//发送者

	private Date createTime = null;//发送时间	
	
	private String accessoryName = null;//附件名
	
	private String accessoryPath = null;//附件路径
	private java.util.Date readTime;
	/** id */
	private java.lang.String id;

	/** recivor */
	private java.lang.String recivor;
	/** msgId */
	private java.lang.String msgId;
	/** status */
	private java.lang.String status;


	public java.lang.String getId() {
		return this.id;
	}
	
	public void setId(java.lang.String value) {
		this.id = value;
	}
	
	public java.lang.String getRecivor() {
		return this.recivor;
	}
	
	public void setRecivor(java.lang.String v) {
		this.recivor = v;
	}
	
	public java.lang.String getMsgId() {
		return this.msgId;
	}
	
	public void setMsgId(java.lang.String value) {
		this.msgId = value;
	}
	
	public java.lang.String getStatus() {
		return this.status;
	}
	
	public void setStatus(java.lang.String value) {
		this.status = value;
	}
	


	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getAccessoryName() {
		return accessoryName;
	}

	public void setAccessoryName(String accessoryName) {
		this.accessoryName = accessoryName;
	}

	public String getAccessoryPath() {
		return accessoryPath;
	}

	public void setAccessoryPath(String accessoryPath) {
		this.accessoryPath = accessoryPath;
	}

	public java.util.Date getReadTime() {
		return readTime;
	}

	public void setReadTime(java.util.Date readTime) {
		this.readTime = readTime;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getReceiveusername() {		//
		
		return (String)StaticMap.getUserValue( this.getRecivor());
	}


	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
}

